package org.siberia.client.service;

import java.util.Date;
import java.util.List;

import org.siberia.client.bean.UserDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface UserServiceAsync
{
	void getUserByName(String name, AsyncCallback<UserDTO> callback);
	
	void createUser(UserDTO user, AsyncCallback<Void> callback);

	void findAll(AsyncCallback<List<UserDTO>> callback);

	void deleteAll(AsyncCallback<Void> callback);
}
